package com.njmaomao.gj.pyot.common.bean;

import io.swagger.annotations.ApiModelProperty;

public class BaseRequest extends RootRequest {

    private static final long serialVersionUID = -7269149805593497172L;

    @ApiModelProperty(value = "请求来源系统")
    private String fromSystem;

    @ApiModelProperty(value = "操作人", example = "0")
    private Long operator;

    public String getFromSystem() {
        return fromSystem;
    }

    public void setFromSystem(String fromSystem) {
        this.fromSystem = fromSystem;
    }

    public Long getOperator() {
        return operator;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }
    
    public void copyFrom(BaseRequest baseRequest) {
    	this.setSeqNo(baseRequest.getSeqNo());
    	this.setFromSystem(baseRequest.getFromSystem());
    	this.setOperator(baseRequest.getOperator());
    }
	
}